const routes = {
  path: '/',
  name: '/',
  component: () => import('../../views/presentation/index.vue'),
  children: [
    {
      path: 'life',
      name: 'life',
      component: () => import('../../views/presentation/life/index.vue'),
      children: [
        {
          path: 'game',
          name: 'game',
          component: () => import('../../views/presentation/life/game/game.vue'),
          children: [
            {
              path: 'wantOrNot',
              name: 'wantOrNot',
              component: () => import('../../views/presentation/life/game/wantOrNot.vue')
            }
          ]
        }
      ]
    },
    {
      path: 'nav',
      name: 'nav',
      component: () => import('../../views/presentation/nav/index.vue'),
      meta: {
        title: '导航'
      }
    },
    {
      path: 'post/:id',
      name: 'post',
      component: () => import('../../views/presentation/detail/index.vue')
    }
  ]
}
export default routes
